package cn.t.repository.sku;

import cn.t.core.mode.PageQueryDTO;
import cn.t.core.repoistory.impl.IRepository;
import cn.t.model.sku.CustomerSkuDO;
import cn.t.request.CustomerSkuReq;

import java.util.List;

/**
 * 客户商品映射表(CustomerSku)领域仓库
 *
 * @author t
 * @since 2024-05-24 10:19:11
 */
public interface CustomerSkuRepository extends IRepository<CustomerSkuDO> {

    List<String> findSkuByCustomerCode(String customerSkuCode);

    void addBatch(List<CustomerSkuDO> customerSkuDos);

    List<CustomerSkuDO> page(PageQueryDTO<CustomerSkuReq> req, String field, String desc);

    Long queryCustomerSkuCount(CustomerSkuReq param);
}
